package com.zy.config.dto;

import com.zy.db.enums.QueryTypeEnums;
import com.zy.db.pointcut.Q;
import lombok.Data;

import java.util.List;

/**
 * @author zy
 * @description:
 * @since 2023/3/19 13:22
 */
@Data
public class AppConfigDetailsQueryDto {

    @Q(QueryTypeEnums.eq)
    private Long appConfigId;

    @Q(value = QueryTypeEnums.in, key = "appConfigId")
    private List<Long> appConfigIds;

    @Q(value = QueryTypeEnums.eq, defaultValue = "0")
    private Integer isDel;

    public AppConfigDetailsQueryDto(Long appConfigId, List<Long> appConfigIds) {
        this.appConfigId = appConfigId;
        this.appConfigIds = appConfigIds;
    }
}
